home *** CD-ROM | disk | FTP | other *** search
/ By Popular Request 2.0 / By Popular Request 2.0 (Arsenal Computer).ISO / amiga_6 / tlist008.ads < prev    next >
Text File  |  1995-08-18  |  4KB  |  107 lines

  1. Short:  Turbo list command replacement v0.08
  2. Author: g.sanderson@ais.gu.edu.au
  3. Type:   util/sys
  4.  
  5. NEW:  as of v0.08, TurboList is pure and hence can be made resident.
  6.       (see history for further additions)
  7.  
  8. TurboList is a command similar to the standard list command supplied with
  9. AmigaDOS.
  10.  
  11. The normal 'list' command, lists files like this:
  12.  
  13. etherpeek                   2369 ---arwed 04-Jan-95 22:21:34
  14. alien.iff                1314114 ----rwed 07-Jan-95 01:31:08
  15. desert.rat.toxic.article.gz    3684 ----rwed 05-Apr-95 17:24:34
  16. ultoa020.o                   444 ----rwed 28-Mar-95 19:11:11
  17. ftphunt.gz                 13768 ---arwed 04-Jan-95 14:27:41
  18. mui23usr.LZX              504572 ----rwed 26-Mar-95 19:21:54
  19. electric.bullet             1416 ---arwed 04-Jan-95 22:16:54
  20. ar311.lha                  95557 ----rwed Today     02:44:23
  21. replacement.functions       1029 ----rwed 11-Mar-93 23:20:17
  22. 9 files - 3796 blocks used
  23.  
  24.  
  25. TurboList lists them like this (similar to unix ls):
  26.  
  27. ---arwed 04 Jan 22:21   2.3 K  etherpeek
  28. ----rwed 07 Jan 01:31   1.3 M  alien.iff
  29. ----rwed 05 Apr 17:24   3.6 K  desert.rat.toxic.article.gz
  30. ----rwed 28 Mar 19:11   0.5 K  ultoa020.o
  31. ---arwed 04 Jan 14:27  13.4 K  ftphunt.gz
  32. ----rwed 26 Mar 19:21 492.8 K  mui23usr.LZX
  33. ---arwed 04 Jan 22:16   1.4 K  electric.bullet
  34. ----rwed Tod 02:44:23  93.3 K  ar311.lha
  35. ----rwed 11 Mar  xx93   1.0 K  replacement.functions
  36. TOTAL:  9 files [1.8 M] and 0 dirs [1.9 M used, 1.0 M free]
  37.  
  38.  
  39. As  you  can  see,  long  filenames  do  not  stuffup  the formatting.
  40. Additionally,  file sizes are approximated to their nearest multiplier
  41. (ie.   Kilobytes,  Megabytes  or  Gigabytes),  which is much easier to
  42. read.  This behaviour can be switched off.
  43.  
  44. The  date/time  output  is also different - if the file was created on
  45. the  day  you  are listing it, it will print out "Tod hh:mm:ss", where
  46. Tod  = Today, hh = hours, mm = minutes, ss = seconds.  If the file was
  47. created  within  6 months of Today, the day of the month and the month
  48. will  be  printed,  along  with  hh:mm.   If  the file is older than 6
  49. months,  the  full  date,  but  no  time,  is printed.  This unix-like
  50. behaviour  can  be  switched off and the full date printed without any
  51. conditions.
  52.  
  53. Additionally,  the  file sizes are added up and listed at the end (the
  54. [1.8  M]  in  above example).  The actual space taken up by the listed
  55. files is also printed (ie.  1.9 M used) - this is due to the amount of
  56. blocks  being used for a file, and blocks have constant sizes (usually
  57. 512  bytes  on  FFS),  hence  a file which takes up 444 bytes actually
  58. takes up 2 blocks, 1 * 512 for the file, and 1 * 512 for the directory
  59. entry  (these  values all depend on the file system used).  The amount
  60. of free space (ie.  1 M free) on the device is also printed.
  61.  
  62.  - Can be upto 30% faster than the normal 'list' command
  63.  - Long filenames fit without stuffing up the display
  64.  - Approximates the file size so it can be read easily (can be turned off)
  65.  - similar to unix-ls date printing behaviour
  66.  - handles patterns (ie. stuff like foobar.#? etc)
  67.  - listing according to dates (since/upto date limitations)
  68.  
  69. History:
  70.  
  71. 0.08    seperated fields by 2 spaces
  72.     seperated size multiplier by 1 space
  73.     modified date output to be more unix like
  74.     modified file size approximator to always display in x.x format
  75.     added COMMENT/S
  76.     added NOTOTAL/S
  77.     removed BOTH/S
  78.     can now be made resident: uses cres.o for resident startup,
  79.     hence the executable is larger than necessary.  Next version
  80.     may have a stripped down version of cres.o
  81.  
  82. 0.07 - 0.01 in doc file
  83.  
  84. ------------------------------------------------------------
  85.                  Amiga Distribution System
  86. ------------------------------------------------------------
  87.  
  88.                         ADS Zone: 1
  89.                   ADS Hatch Site: Don Plesky
  90.               ADS Position: ADS Zone 1 Coordinator
  91.                  BBS Name: EastPointe Amiga BBS
  92.                  Phone Number(s): 810-773-6959
  93.                  Network Address: 1:120/229  
  94.                      Network Region: 11    
  95.                    BBS Hours: 24 Hrs/Day
  96.            BBS Mailer/Software: DLG Trapdoor/PDQmail
  97.                    BBS Storage Space: 2 Gig 
  98.                File Requestable :  <X> Y     < > N
  99.                File Request Hours : All The Time
  100.  
  101.  
  102.  
  103. ---------------------------------------------------------------
  104. Help the Amiga! Join the ADS team Become a ADS Hub<=>Freq ADSINFO 
  105. ---------------------------------------------------------------
  106.  
  107.